home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 27
/
CU Amiga Magazine's Super CD-ROM 27 (1998)(EMAP Images)(GB)[!][issue 1998-10].iso
/
CUCD
/
Online
/
News
/
Thor
/
rexx
/
GetNET.thor.doc
< prev
next >
Wrap
Text File
|
1997-04-27
|
4KB
|
105 lines
GetNET.thor 1.4 (26.6.96) by Remco van Hooff (rvhooff@globalxs.nl)
GetNET can do 2 things:
1: Grab http adresses (WWW addresses) from the current message, and save
them to the hotlist of your favourite WWW browser(s).
Browsers currently supported are:
AMosaic
AWeb
IBrowse (0.81+)
Voyager
HTML is also supported which can be read by any browser.
2: Grab email addresses from the current message, and save them to the
userlist of your Internet system.
REQUIREMENTS:
- Thor 2.2+
- COPY and DELETE somewhere in your path
- A WWW browser (Amosaic, IBrowse, ALynx, AWeb, ...),
only for the www addresses.
USAGE:
As usual you need to edit some variables:
- Edit the BBS variable to point to your Internet system.
- Edit the HOTLIST_* variables for the right path/file for the hotlists.
- Edit the AMOSAIC/IBROWSE/VOYAGER/AWEB/HTML variables:
1 = save to hitlist,
0 = don't save to hotlist
You can have all set to 1 if you use all the browsers, or 0 if you don't
want to save anything :.) (you'll be notified if you have turned all off).
- Edit the LOOP variable:
0 = loop
1 = no loop
This variable will enable you to return to the main requester (chose
between HTTP, Email or Quit) after you've saved email/http addresses.
- You can also edit the filter chars, I already included the most common
chars. The '.' is "hardcoded" and is therefore not included in the filter
list.
A filter character is a character that may be "connected" to an address,
e.g. <email@address.somewhere>
The '<' and '>' are not part of the actual address and thus should be
removed.
So filters for these characters are: filter.1.x = '>', filter.2.x = '<'
filter.1.x are used for chars that follow the address (http and email)
filter.2.x are used for chars that preceed the address (email only)
Note:
- You can leave the name of the address empty, they will automatically be
replaced by a default name.
If you selected HTTP the default name is 'subj (i)', subj is
the subject of the msg without 'Re:'.
If you selected Email the default name is the userid (eg rvhooff in
rvhooff@globalxs.nl).
- Duplicate addresses will not be shown.
- The HTTP oprion will search the msg HEADER, the Email option will not.
AUTHOR:
For bugs, comments, flames, typos, optimizing tips:
Internet: rvhooff@globalxs.nl
FIDO : 2:286/407.39
AMY : 39:153/201.39
Also have a look at my homepage for more Thor ARexx scripts.
http://www.globalxs.nl/home/r/rvhooff
HISTORY:
1.0 - Joined 2 programs (GetHTTP and GetEmail) together into one program.
The programs use a lot of similar code, so joining them together
will use less HD space :.)
1.1 - Added AWeb hotlist support.
- Removed 'GetNet -' from default names when saving to the hotlists.
- Added loop option. You can now chose if you want to return to the start
requester or not.
- Changed the IBrowse hotlist format to that of verion 0.81.
1.2 - Added Voyager hotlist support.
1.3 - Fixed some trouble with arexx ports when ConnectThor was running.
1.4 - Addresses that don't start with 'http://' but do start with 'www.'
will now also be shown.
- Fixed a bug in the HTML save routine (does anybody use it?).
TO DO:
- More hotlists (send me a short hotlist if you want to have it supported).
- GetFTP. I'm still working on it.
The code will either search for 'ftp://', for x.x.domain (or #.#.#.#), or
both. The first option will be as fast as that of GetNET, the latter 2
will be slow (I'll have to check against 200+ domains) and will therefore
be implemented as an option.
The found addresses will be saved to the hotlist of your WWW browser.
This is the only solution until I can get my hands on the formats of FTP
clients, so if you are an FTP client author please post me the format of
the hotlist. If you're not an author but do know what the format of a
certain client is please post it to me and I'll ask permission from the
author.